package com.yao.shop.mapper;

import com.yao.shop.pojo.ShopOrderHistory;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ShopOrderHistoryMapper {
    void save(ShopOrderHistory orderHistory);

    List<ShopOrderHistory> getHistory(Long id);
}
